import re
import requests
import csv

headers = {
    "User-Agent": "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
}

url = "https://movie.douban.com/top250"
resp = requests.get(url, headers=headers)
content = resp


print(resp.text)